package com.auxgroup.bridge.business.inner.vo;

import java.util.List;

/**
 * 城市三级联动组件，结合antd
 * Created by laiqiuhua on 2017/7/20.
 */
public class ThirdCascaderVo {
    private String cityId;
    private String cityCode;
    private String shortName;
    private String value;
    private String label;
    private List<ThirdCascaderVo> children;

    public ThirdCascaderVo() {
    }

    public ThirdCascaderVo(String value, List<ThirdCascaderVo> children) {
        this.value = value;
        this.label = value;
        this.children = children;
    }

    public ThirdCascaderVo fill(String cityId, String cityCode, String shortName) {
        this.cityId = cityId;
        this.cityCode = cityCode;
        this.shortName = shortName;
        return this;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public List<ThirdCascaderVo> getChildren() {
        return children;
    }

    public void setChildren(List<ThirdCascaderVo> children) {
        this.children = children;
    }
}
